package com.aaa.dang.modules.mobilereview.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @Author: ymk
 * @Date: 2018/12/27 11:13
 * @description:
 */
@Mapper
@Component
public interface IMobileReviewDao {

    /**
     * 入住申请
     * @param query
     * @return
     */

    int addliveCheck(Map<String, Object> query);

    /**
     * 获取床位id
     * @param query
     * @return
     */

    int getbed_id(Map<String, Object> query);

    /**
     * 退宿申请
     * @param query
     * @return
     */

    int addretireCheck(Map<String, Object> query);

    /**
     * 押金申请
     * @param query
     * @return
     */

    int addpositCheck(Map<String, Object> query);

    /**
     * 租金申请
     * @param query
     * @return
     */
    int addrentCheck(Map<String, Object> query);
}
